home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
msysjour
/
vol04
/
06
/
errexit.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-31
|
242b
|
17 lines
/* errexit.c RHS 7/15/89
*
*/
#define INCL_DOS
#include<os2.h>
#include<stdio.h>
#include"errexit.h"
void error_exit(USHORT err, char *msg)
{
printf("Error %u returned from %s\n",err,msg);
DosExit(EXIT_PROCESS,0);
}